package com.dongdongmovie.service;

import com.dongdongmovie.pojo.PageResult;
import com.dongdongmovie.pojo.TabRoute;

public interface TabRoute_Service {

    //查询数据
    PageResult<TabRoute> show(TabRoute t, Integer pageNum, Integer pagesize);

    //添加数据
    int add(TabRoute t);

    //查询全部
    TabRoute showAll(Integer rid);

    //修改数据
    int updatebyId(TabRoute t);

    //根据id删除
    int delete(Integer rid);

    //删除全部
    int deleteall(Integer[] rids);

    //上架
    int updateputaway(Integer rid);

    //下架
    int updatesoldout(Integer rid);
}
